using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Media;
using TechNewLogic.GraphIT.Helper;

namespace TechNewLogic.GraphIT.Drawing
{
	unsafe class WbExDrawer : IDrawer
	{
		public HitTester DrawLine(
			double thickness,
			IEnumerable<IList<Point>> points,
			int width,
			int height,
			int* buffer)
		{

			//var stride = MathHelper.GetStride(width, 8);
			//bitmap = new byte[stride * height];
			//selection = new byte[stride * height];

			//foreach (var line in points)
			//{
			//    var x1 = (int)line[0].X;
			//    var y1 = (int)line[0].Y;

			//    for (var i = 1; i < line.Count; i++)
			//    {
			//        var x2 = (int)line[i].X;
			//        var y2 = (int)line[i].Y;

			//        DrawLine(bitmap, width, height, x1, y1, x2, y2, 128);
			//        x1 = x2;
			//        y1 = y2;
			//    }
			//}

			//return new HitTester(bitmap, stride);
		}
	}
}